/*
 * mytcpstate.h
 *
 *  Created on: 2009-3-30
 *      Author: tian
 */

#ifndef MYTCPSTATE_H_
#define MYTCPSTATE_H_

enum {
	TCP_CLOSED=0,
	TCP_ESTABLISHED,
	TCP_SYN_SENT,
	TCP_SYN_RECV,
	TCP_FIN_WAIT1,
	TCP_FIN_WAIT2,
	TCP_TIME_WAIT,
	TCP_CLOSE,
	TCP_CLOSE_WAIT,
	TCP_LAST_ACK,
	TCP_LISTEN,
	TCP_CLOSING,	/* Now a valid state */

	//TCP_MAX_STATES	/* Leave at the end! */
};

#endif /* MYTCPSTATE_H_ */
